package priv.winnine.entity.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {

    SUCCESS(200, "success"),
    FAIL(-1, "fail");

    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
